import request from '@/utils/request'

//查询标签
export function getLabelSelectList(params) {
  return request({
    url: '/admin/label/search/?labelName=' + params,
    method: 'get',
  })
}

//查询总标签
export function getLabelAllList() {
  return request({
    url: '/admin/label/searchAll',
    method: 'get',
  })
}

//查询群总标签
export function groupLabel() {
  return request({
    url: '/admin/label/groupLabel',
    method: 'get',
  })
}

//查询标签
export function labelCheck(data) {
  return request({
    url: '/admin/label/check',
    method: 'post',
    data
  })
}
